package com.ie.controller.before;

import com.ie.service.admin.GoodsService;
import com.ie.service.before.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/before")
public class TestController {
    @Autowired
    private TestService testService;
    @Autowired
    private GoodsService goodsService;
 @PostMapping("/test")
    public String test(){
        return testService.test();
    }
}
